package entity

import (
	"trpg-common/utils/time_util"
)

type BaseEntity struct {
	Id          int64           `gorm:"column:id;primaryKey" json:"id" form:"id"`
	IsDeleted   string          `gorm:"column:is_deleted;default:N" json:"isDeleted" form:"isDeleted"`
	Creator     string          `gorm:"column:creator" json:"creator" form:"creator"`
	Modifier    string          `gorm:"column:modifier" json:"modifier" form:"modifier"`
	GmtCreated  *time_util.Time `gorm:"column:gmt_created" json:"gmtCreated"`
	GmtModified *time_util.Time `gorm:"column:gmt_modified" json:"gmtModified"`
}
